package org.bling.star.common.connect;
import org.bling.star.common.response.BaseResponse;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.util.concurrent.Promise;

/**
 * @Describe: 单机连接抽象层
 * @Date: 2024/7/9
 * @Author: szz
 */
public interface ConnectClient {

    BaseResponse send(Object msg);

    ChannelFuture sendFuture(Object msg);

    Channel channel();

    boolean close();

    ConnectStatus status();

    Boolean isShutdown();

    void alive();
}
